package cn.jsu.oj.dispatchServer.satellite.pojo.net;

import cn.jsu.oj.dispatchServer.satellite.annotation.PackType;

import java.io.Serializable;

/**
 * net请求包
 *
 * @author shan
 * @date 2022/06/29
 */
@PackType(typeNo = 3)
public class RequestNet extends AbsPackNet implements Serializable {

    private String uuid;
    private Short command;
    private String identity;
    private String logName;

    @Override
    public String toString() {
        return "RequestNet{" +
                "uuid='" + uuid + '\'' +
                ", command=" + command +
                ", identity='" + identity + '\'' +
                ", logName='" + logName + '\'' +
                '}';
    }

    public RequestNet(String uuid, Short command, String identity, String logName) {
        this.uuid = uuid;
        this.command = command;
        this.identity = identity;
        this.logName = logName;

    }

    public RequestNet() {
    }

    public RequestNet(Short command, String identity) {
        this.command = command;
        this.identity = identity;
    }

    public RequestNet(String uuid, Short command, String identity) {
        this.uuid = uuid;
        this.command = command;
        this.identity = identity;
    }



    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Short getCommand() {
        return command;
    }

    public void setCommand(Short command) {
        this.command = command;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getLogName() {
        return logName;
    }

    public void setLogName(String logName) {
        this.logName = logName;
    }

}
